import { Injectable } from "@angular/core";
import { HttpClient, HttpParams } from "@angular/common/http";
import { Observable } from "rxjs";
@Injectable({
  providedIn: 'root'
})
export class CustomerJdcardService {
  
  // 京东兑换list
  exchangeJdListUrl = '/exchangeJd/list';

  constructor(public httpClient: HttpClient) { }
  
  // 查询流水table
  queryExchangeJdList(params: any) {
    return this.httpClient.post(this.exchangeJdListUrl, params).toPromise();
  }
}
